package cn.stylefeng.guns.modular.agv.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.agv.entity.AgvAreaQuota;
import cn.stylefeng.guns.modular.agv.model.params.AgvAreaQuotaParam;
import cn.stylefeng.guns.modular.agv.model.result.AgvAreaQuotaResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * agv库区限制 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2025-07-08
 */
public interface AgvAreaQuotaService extends IService<AgvAreaQuota> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
    void add(AgvAreaQuotaParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
    void delete(AgvAreaQuotaParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
    void update(AgvAreaQuotaParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
    AgvAreaQuotaResult findBySpec(AgvAreaQuotaParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
    List<AgvAreaQuotaResult> findListBySpec(AgvAreaQuotaParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-07-08
     */
     LayuiPageInfo findPageBySpec(AgvAreaQuotaParam param, String condition);

}
